<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function show(){
            while(true){
                alert("一直点");
            }
        }
    </script>
</head>
<body>
<center>
<h1>百度</h1>
<input type="text" size="32">
<input type="button" value="点一下" onclick="show()">
    </center>
</body>
</html>